cmake_minimum_required(VERSION 3.5)

project(MainCityProtection LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF)

add_library(${PROJECT_NAME} SHARED 
    MainCityProtection.cpp
    PlayerEvent.cpp
)

target_link_libraries(${PROJECT_NAME} PUBLIC PocketSurvival Engine Utils)
